/* 
 @author   Ahmed Khudairy
 @contact  akhudairy@gmail.com
 @project  Mall Kit
 */
 
package com.mallkit.core.control
{
	import com.adobe.cairngorm.control.FrontController;
	import com.mallkit.core.commands.*;
	import com.mallkit.core.events.*;
	
	public class MallKitController extends FrontController
	{
		public function MallKitController()
		{
			this.initialize();
		}
		
		 /**
	     *
	     * The <code>initialize()</code> method maps each <code>Event</code> 
	     * to it's associated <code>Command</code> in the application
	     * 
	     * @see com.adobe.cairngorm.control.CairngormEvent
	     * @see com.adobe.cairngorm.command.ICommand
	     * 
	     */		
		private function initialize() : void
		{
			addCommand(TestEvent.Test_Event, TestCommand);
		}
	}
}